Skip to content

chore(api): new output api #6677 - #7450

Merged
andrewseguin merged 4 commits into
angular:masterfrom
amcdnl:sidenav-6677
Oct 9, 2017
Merged

andrewseguin merged 4 commits into
angular:masterfrom
amcdnl:sidenav-6677

Conversation

@amcdnl

@amcdnl amcdnl commented Sep 30, 2017

Copy link
Copy Markdown
Contributor

Given all the back and forth on #7161, I decided to open a new clean PR with the changes. This PR does the following:

  • Adds opened event, deprecating open
  • Adds closed event, deprecating close
  • Adds openChange<boolean>

@amcdnl amcdnl self-assigned this Sep 30, 2017
@amcdnl
amcdnl requested review from jelbourn and mmalerba September 30, 2017 20:41
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Sep 30, 2017
Comment thread src/lib/sidenav/drawer.ts Outdated
@Output('opened')
get _openedStream(): Observable<void> {
return RxChain.from(this.openedChange)
.call(filter, o => o)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: indent continuation lines 4 spaces

(open)="open()"
(close)="close()">
(opened)="open()"
(closed)="close()">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add a test for the [(opened)] syntax as well

@mmalerba mmalerba added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Oct 1, 2017
@kara

kara commented Oct 5, 2017

Copy link
Copy Markdown
Contributor

@amcdnl Rebase?

@kara kara added pr: needs rebase and removed action: merge The PR is ready for merge by the caretaker labels Oct 5, 2017
@amcdnl

amcdnl commented Oct 5, 2017

Copy link
Copy Markdown
Contributor Author

@kara - done :)

@kara

kara commented Oct 6, 2017

Copy link
Copy Markdown
Contributor

One more time? :-)

@amcdnl

amcdnl commented Oct 9, 2017

Copy link
Copy Markdown
Contributor Author

@kara - done :L

@mmalerba mmalerba added action: merge The PR is ready for merge by the caretaker and removed pr: needs rebase labels Oct 9, 2017
@andrewseguin
andrewseguin merged commit 004e0fe into angular:master Oct 9, 2017
@amcdnl
amcdnl deleted the sidenav-6677 branch October 10, 2017 13:28
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants